コード例 #1
0
        public san_pham(
            int id_user,
            bool tha_tim,
            int id_san_pham,
            string ten_san_pham,
            thuong_hieu thuong_hieu,
            List <loai_sp> danh_sach_loai_san_pham,
            List <string> danh_sach_anh,
            long gia_cao,
            long gia_ban_ra,
            string mo_ta_san_pham_html,
            string dac_tinh_san_pham,
            float khoi_luong_san_pham_gram,
            bool da_co_vat,
            int so_tim,
            List <thong_tin_so_luong> thong_tin_so_luong,
            List <thong_tin_danh_gia> danh_sach_danh_gia)
        {
            this.id_user = id_user;

            this.tha_tim = tha_tim;

            this.id_san_pham = id_san_pham;

            this.ten_san_pham = ten_san_pham;

            this.thuong_hieu = thuong_hieu;

            this.danh_sach_loai_san_pham = danh_sach_loai_san_pham;

            this.danh_sach_anh = danh_sach_anh;

            this.gia_cao = gia_cao;

            this.gia_ban_ra = gia_ban_ra;

            this.mo_ta_san_pham_html = mo_ta_san_pham_html;

            this.dac_tinh_san_pham = dac_tinh_san_pham;

            this.khoi_luong_san_pham_gram = khoi_luong_san_pham_gram;

            this.da_co_vat = da_co_vat;

            this.so_tim = so_tim;

            this.thong_tin_so_luong = thong_tin_so_luong;

            this.danh_sach_danh_gia = danh_sach_danh_gia;
        }
コード例 #2
0
 public void setthuong_hieu(thuong_hieu thuong_hieu)
 {
     this.thuong_hieu = thuong_hieu;
 }